package cn.jly.spring.boot.cloud.dao;

import cn.jly.spring.boot.cloud.beans.UserInfo;
import cn.jly.spring.boot.cloud.beans.UserInfoId;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author lanyangji
 * @description 测试联合主键
 * @date 2020/12/9 下午 5:04
 */
@Repository
public interface UserInfoRepository extends JpaRepository<UserInfo, UserInfoId> {

    UserInfo getByName(String name);
}
